package com.waimai.db.dao;

import java.util.List;

import com.waimai.db.entity.Admin;

public interface AdminDao {
	// 管理员部分
	public Admin getAdmin(String username, String password);

	public void saveAdmin(Admin admin);

	public List<Admin> getAdmins();

	public void updateAdmin(String password, Integer adminId);

	public Admin getById(int adminId);

	public void updateAdmin(Admin admin);
}
